package com.fitso.model.service.food;

import com.fitso.model.bean.measure.Measure;
import com.fitso.model.bean.nutrition.Food;

/**
 * Implementation should compact food based on the serving size. So an example
 * might be to compact food into parts per gram.
 * 
 * @author timothystorm
 * @see {@link FoodExpander}
 */
public interface FoodCompactor {
	public Food compact(Food food, Measure measure);
}
